import Vue from "vue";
import App from "./App.vue";
import router from "./router";

//引入全局css樣式控制文件
import "./assets/css/global.css";
// 引入iconfont圖標庫樣式文件
// import './assets/fonts/iconfont.css'
import "./assets/fonts/iconfont.css";

//引入和註冊elementui組件庫
import ElementUI from "element-ui";
Vue.use(ElementUI);

//导入axios模块 并注册为组件
import axios from "./http.js";
Vue.prototype.$http = axios;

//导入自定义的面包屑组件 引入的是子组件
import MyBread from"./compoents/MyBread.vue";
//全局注册 封装
Vue.component("my-bread",MyBread)

Vue.config.productionTip = false;

new Vue({
  router,
  render: h => h(App)
}).$mount("#app");
